Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Layers🞂Layer Option BitsConstant

Layer Option Bits

Bitmask flags controlling visibility, update behavior, mouse interaction, and repaint options for layers.

Description ​

Layer Option Bits (LOB_*) define bitwise flags used in TCustomLayer.LayerOptions to control visibility, repainting, overlay drawing, and mouse message capture behavior.

Constants Table ​

ConstantValueDescription
LOB_VISIBLE$80000000Controls layer visibility. When set, the layer is rendered during paint cycles.
LOB_GDI_OVERLAY$40000000Indicates that the layer performs drawing when its owner control draws GDI overlays.
LOB_MOUSE_EVENTS$20000000Specifies whether the layer responds to mouse messages and hit testing.
LOB_NO_UPDATE$10000000Disables automatic repainting when layer location or properties change.
LOB_NO_CAPTURE$08000000Overrides automatic mouse message capturing when the left mouse button is pressed over the layer. Has no effect if LOB_MOUSE_EVENTS is cleared.
LOB_INVALID$04000000Used internally by the repaint optimizer to mark invalidated layer areas.
LOB_FORCE_UPDATE$02000000Used internally to force an area repaint when a layer is being hidden.
LOB_RESERVED_24$01000000Reserved bit.
LOB_RESERVED_MASK$FF000000Bitmask covering all system and option bit flags (bits 24..31).